﻿<Window x:Class="DependencyView.StartView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Dependency View" Icon="GRAPH14.ICO" Height="Auto" Width="Auto" ContentRendered="OnContentRendered" WindowStartupLocation="CenterScreen" WindowState="Normal" WindowStyle="None" BorderBrush="Azure" BorderThickness="0">
	<Window.Resources>
		<Storyboard x:Key="story">
			<ParallelTimeline Storyboard.TargetName="titlemove" Storyboard.TargetProperty="X" >
				<DoubleAnimation x:Name="spanx" From="200" To="0" AutoReverse="False" />
			</ParallelTimeline>
			<ParallelTimeline Storyboard.TargetName="footer" Storyboard.TargetProperty="X" >
				<DoubleAnimation x:Name="spanf" From="-200" To="0" AutoReverse="False" />
			</ParallelTimeline>
		</Storyboard>
		<Style x:Key="text" TargetType="{x:Type TextBlock}">
			<Setter Property="Background" Value="{x:Null}"/>
			<Setter Property="Foreground" Value="White"/>
			<Setter Property="TextWrapping" Value="Wrap"/>
			<Setter Property="FontFamily" Value="Arial Rounded MT"/>
			<Setter Property="FontSize" Value="14"/>
		</Style>
	</Window.Resources>
	<Grid>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*"/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="0.94*"/>
			<RowDefinition Height="0.06*"/>
		</Grid.RowDefinitions>
		<Canvas>
			<Canvas.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FF000000" Offset="0"/>
					<GradientStop Color="#FF07F3CA" Offset="1"/>
				</LinearGradientBrush>
			</Canvas.Background>
			<StackPanel Orientation="Vertical">
				<TextBlock Text="Dependency View" Style="{StaticResource text}" FontSize="48" Foreground="#FF50EDD9" Canvas.Top="8" Width="752">
					<TextBlock.RenderTransform>
						<TranslateTransform x:Name="titlemove"/>
					</TextBlock.RenderTransform>
				</TextBlock>
				<Grid Background="{x:Null}">
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="*"/>
						<ColumnDefinition Width="*"/>
						<ColumnDefinition Width="*"/>
					</Grid.ColumnDefinitions>
					<Grid.RowDefinitions>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
						<RowDefinition Height="*"/>
					</Grid.RowDefinitions>
					<TextBlock Style="{StaticResource text}" Text="Folder path:"/>
					<TextBox x:Name="FolderTextBox" Grid.ColumnSpan="2" Grid.Row="1" Background="{x:Null}" Foreground="White"/>
					<Button Grid.Column="2" Grid.Row="1" Content="Browse..." Click="OnQuit"/>
					<Button Grid.Column="2" Grid.Row="2" Content="Add" />
					<TextBlock Style="{StaticResource text}" Text="Input folders:" Grid.Row="3"/>
					<CheckBox Grid.Column="1" Grid.Row="3" Content="Sca tree"/>
					<ListBox Grid.Row="4" Grid.RowSpan="4" />
					<Button Grid.Column="2" Grid.Row="4" Content="Delete" />
					<TextBlock Style="{StaticResource text}" Text="Filter search patterns (e.g., *.dll;*.exe):" Grid.Row="8"/>
					<TextBox x:Name="FilterTextBox" Text="*.dll;*.exe" Grid.Column="1" Grid.Row="9" Background="{x:Null}" Foreground="White"/>
					<TextBlock Style="{StaticResource text}" Text="Output Visio drawing filename:" Grid.Row="10"/>
					<TextBox x:Name="OutputTextBox" Grid.Column="1" Grid.Row="11" Background="{x:Null}" Foreground="White"/>
					<Button Grid.Column="2" Grid.Row="11" Content="Browse..." />
					<Button Grid.Column="2" Grid.Row="12" Content="Write DAG to Visio file" />
				</Grid>
			</StackPanel>
		</Canvas>
		<StackPanel Grid.Row="1">
			<StackPanel.Background>
				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
					<GradientStop Color="#FF07F3CA" Offset="0"/>
					<GradientStop Color="#FF000000" Offset="1"/>
				</LinearGradientBrush>
			</StackPanel.Background>
			<TextBlock Style="{StaticResource text}" HorizontalAlignment="Right" Height="30" Text="part of dependency management tool: Tools for Software Designer" FontSize="16" Foreground="#FF50EDD9">
				<TextBlock.RenderTransform>
					<TranslateTransform x:Name="footer"/>
				</TextBlock.RenderTransform>
			</TextBlock>
		</StackPanel>
	</Grid>
</Window>